package com.woniu.new_orange.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName staff
 */
@Data
@ApiModel("员工类")
public class Staff implements Serializable {

    @ApiModelProperty("员工id")
    private Long staffId;

    @ApiModelProperty("员工昵称")
    private String staffName;

    @ApiModelProperty("员工真实姓名")
    private String staffRealName;

    @ApiModelProperty("员工账号")
    private String staffAccount;

    @ApiModelProperty("员工密码")
    private String staffPassword;

    @ApiModelProperty("员工邮箱")
    private String staffEmail;

    @ApiModelProperty("员工入职日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date staffDate;

    @ApiModelProperty("员工生日")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date staffBirthday;

    @ApiModelProperty("员工电话")
    private String staffPhone;

    @ApiModelProperty("部门id")
    private Integer deptId;

    @ApiModelProperty("客服员工id")
    private Integer serviceStaffId;

    @ApiModelProperty("定制员工id")
    private Integer customizationStaffId;

    @ApiModelProperty("售后员工id")
    private Integer financeStaffId;

    @ApiModelProperty("员工备用1")
    private Integer staffBy1;

    @ApiModelProperty("员工备用2")
    private String staffBy2;

    @ApiModelProperty("员工备用3")
    private String staffBy3;

    private static final long serialVersionUID = 1L;
}